package com.lyy;

import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure;
import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@Slf4j
@EnableScheduling
@EnableTransactionManagement
@MapperScan("com.baomidou.mybatisplus.samples.quickstart.mapper")
@SpringBootApplication(exclude = DruidDataSourceAutoConfigure.class)
public class ApiToolsApplication {

    public static void main(String[] args) {
        SpringApplication.run(ApiToolsApplication.class, args);
        log.info("springboot項目启动成功！");

    }

}
